﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using IDAL;
using Models;

namespace BLL
{
    public class ContactInfoLogic
    {
        public static IContactInfo contactinfo = new ContactInfoDAL();
        public static List<ContactInfo> GetContactInfo()
        {
            return contactinfo.GetContactInfo();
        }
        public static int UpdateContactInfo(ContactInfo contact)
        {
            contactinfo.DeleteContactInfo();
            return contactinfo.AddContactInfo(contact);
        }
    }
}
